/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.zxr.model.entity;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableName;

import top.continew.admin.common.model.entity.BaseDO;

import java.io.Serial;
import java.time.*;
import java.math.BigDecimal;

/**
 * 销售订单实体
 *
 * @author yfh
 * @since 2025/05/07 16:20
 */
@Data
@TableName("tb_xsdd")
public class XsddDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订单状态编码
     */
    private String ddztbm;

    /**
     * 订单类型编码
     */
    private String ddlxbm;

    /**
     * 订单编号
     */
    private String ddbh;

    /**
     * 所属销售合同编号
     */
    private String ssxshtbh;

    /**
     * 所属销售合同ID
     */
    private Long ssxshtid;

    /**
     * 供货方编号
     */
    private Long ghfbh;

    /**
     * 采购方编号
     */
    private Long cgfbh;

    /**
     * 燃料类型编码
     */
    private String rllxbm;

    /**
     * 燃料等级编码
     */
    private String rldjbm;

    /**
     * 基准价格(元)
     */
    private BigDecimal jzjgy;

    /**
     * 基准价格单位编码
     */
    private String jzjgdwbm;

    /**
     * 浮动价格范围(百分比) 浮动价格(元)
     */
    private BigDecimal fdjgfwbfbfdjg;

    /**
     * 浮动价格单位编码
     */
    private String fdjgdwbm;

    /**
     * 燃(原)料价格(元)
     */
    private BigDecimal ryljg;

    /**
     * 燃(原)料价格单位编码
     */
    private String ryljgdwbm;

    /**
     * 订单货量
     */
    private BigDecimal ddhl;

    /**
     * 订单货量单位编码
     */
    private String ddhldwbm;

    /**
     * 订单金额(元)
     */
    private BigDecimal ddjey;

    /**
     * 供货周期(天)
     */
    private Integer ghzqt;

    /**
     * 供货周期开始
     */
    private LocalDateTime ghzqks;

    /**
     * 供货周期结束
     */
    private LocalDateTime ghzqjs;

    /**
     * 支付方式编码
     */
    private String zffsbm;

    /**
     * 收货地址
     */
    private String shdz;

    /**
     * 收货人
     */
    private String shr;

    /**
     * 收货人联系方式
     */
    private String shrlxfs;

    /**
     * 订单备注
     */
    private String ddbz;

    /**
     * 审核状态编码
     */
    private String shztbm;

    /**
     * 审核人员
     */
    private String shry;

    /**
     * 审核日期
     */
    private LocalDateTime shrq;

    /**
     * 审核意见
     */
    private String shyj;

    /**
     * 审核状态二级
     */
    private String shztej;

    /**
     * 审核人员二级
     */
    private String shryej;

    /**
     * 审核日期二级
     */
    private LocalDateTime shrqej;

    /**
     * 审核意见二级
     */
    private String shyjej;

    /**
     * del_flag
     */
    private Integer delFlag;
}